home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / hp300bsd.h < prev    next >
C/C++ Source or Header  |  1993-12-16  |  715b  |  37 lines

  1. #include <fcntl.h>
  2. #include <errno.h>
  3. #include <stdio.h>
  4. #include <sys/types.h>
  5. #include <sys/stat.h>
  6. #include <ctype.h>
  7. #include <string.h>
  8. #include <sys/file.h>
  9.  
  10. void *malloc();
  11. void *realloc();
  12. void free();
  13.  
  14. #ifndef    O_ACCMODE
  15. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  16. #endif
  17.  
  18. #define SEEK_SET 0
  19. #define SEEK_CUR 1
  20.  
  21. #include <sys/param.h>
  22. #ifdef BSD4_4
  23. #include <stdlib.h>
  24. #define NO_CORE_COMMAND
  25. #endif
  26.  
  27. #define    HOST_PAGE_SIZE        NBPG
  28. #define    HOST_SEGMENT_SIZE    NBPG    /* Data seg start addr rounds to NBPG */
  29. #define    HOST_MACHINE_ARCH    bfd_arch_m68k
  30. /* #define    HOST_MACHINE_MACHINE     */
  31.  
  32. #define    HOST_TEXT_START_ADDR        0
  33. #define    HOST_STACK_END_ADDR        0xfff00000
  34. #define    HOST_BIG_ENDIAN_P
  35.  
  36. #include "fopen-same.h"
  37.